package com.zhanghe.study.spring4.beans.aoptest.cglib;

import org.springframework.stereotype.Service;

/**
 * @author zh
 * @date 2024/3/21 14:59
 */
@Service
public class MyServiceBiz {
    @SystemLog
    public String log(String param) {
        System.out.println("开始打印日志");
        this.test();
//        ((MyServiceBiz)(AopContext.currentProxy())).test();
        return "success";
    }

    @SystemLog
    public void test(){
        System.out.println("test");
    }
}
